func internal/abi.addChecked
7 uses
internal/abi (current package)
type.go#L247: return (*[1 << 16]Method)(addChecked(unsafe.Pointer(t), uintptr(t.Moff), "t.mcount > 0"))[:t.Mcount:t.Mcount]
type.go#L254: return (*[1 << 16]Method)(addChecked(unsafe.Pointer(t), uintptr(t.Moff), "t.xcount > 0"))[:t.Xcount:t.Xcount]
type.go#L264: func addChecked(p unsafe.Pointer, x uintptr, whySafe string) unsafe.Pointer {
type.go#L531: return (*[1 << 16]*Type)(addChecked(unsafe.Pointer(t), uadd, "t.inCount > 0"))[:t.InCount:t.InCount]
type.go#L542: return (*[1 << 17]*Type)(addChecked(unsafe.Pointer(t), uadd, "outCount > 0"))[t.InCount : t.InCount+outCount : t.InCount+outCount]
type.go#L603: return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), whySafe))
type.go#L609: return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), "the runtime doesn't need to give you a reason"))